/*    */ package system.staros.sblock1;
/*    */ 
/*    */ public abstract class ZemObject
/*    */   implements Comparable<ZemObject>
/*    */ {
/*    */   public ZemNumber toNumber(SourcePosition paramSourcePosition)
/*    */   {
/* 32 */     if ((this instanceof ZemNumber)) {
/* 33 */       return (ZemNumber)this;
/*    */     }
/* 35 */     throw new InvalidTypeException("Expecting number", paramSourcePosition);
/*    */   }
/*    */ 
/*    */   public ZemBoolean toBoolean(SourcePosition paramSourcePosition) {
/* 39 */     if ((this instanceof ZemBoolean)) {
/* 40 */       return (ZemBoolean)this;
/*    */     }
/* 42 */     throw new InvalidTypeException("Expecting boolean", paramSourcePosition);
/*    */   }
/*    */ 
/*    */   public ZemString toZString()
/*    */   {
/* 52 */     if ((this instanceof ZemString)) {
/* 53 */       return (ZemString)this;
/*    */     }
/* 55 */     return new ZemString(toString());
/*    */   }
/*    */ }

/* Location:           D:\Марк\!IMPORTANT\staros\archive\version-2.260.zip
 * Qualified Name:     system.staros.sblock1.ZemObject
 * JD-Core Version:    0.6.1
 */